package cn.com.yiqi.wsc.service.file.dataobject;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author 黄治龙
 * @version V1.0
 * @Title: QiniuConfig
 * @Package: cn.com.artemis.framework.service.file.entity.qiniu
 * @Description: Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @date 2016/10/1 14:52
 */
@Component
public class QiniuConfig {

    @Value("#{dataBaseAttr['qiniu.accessKey']}")
    public String ACCESS_KEY;

    @Value("#{dataBaseAttr['qiniu.secretKey']}")
    public String SECRET_KEY;

    @Value("#{dataBaseAttr['qiniu.bucketName']}")
    public String BUCKET_NAME;

    @Value("#{dataBaseAttr['qiniu.url']}")
    public String URL;

    public String getACCESS_KEY() {
        return ACCESS_KEY;
    }

    public void setACCESS_KEY(String ACCESS_KEY) {
        this.ACCESS_KEY = ACCESS_KEY;
    }

    public String getSECRET_KEY() {
        return SECRET_KEY;
    }

    public void setSECRET_KEY(String SECRET_KEY) {
        this.SECRET_KEY = SECRET_KEY;
    }

    public String getBUCKET_NAME() {
        return BUCKET_NAME;
    }

    public void setBUCKET_NAME(String BUCKET_NAME) {
        this.BUCKET_NAME = BUCKET_NAME;
    }

    public String getURL() {
        return URL;
    }

    public void setURL(String URL) {
        this.URL = URL;
    }
}
